 <?php 
require_once 'config.php';
 ?>
 
<!DOCTYPE html>
<html>
<head>
	<title>Login</title>
	<link rel="stylesheet" href="css/normalize.css">
	<link rel="stylesheet" href="css/style.css">
	<script type="text/javascript" src="js/sha.js"></script>
</head>
<body>
	<section class="loginform cf">
		<form name="login" action="index.php" onsubmit="Sha1.EncodePass()" method="post" accept-charset="utf-8">
			<ul>
				<input type="hidden" name="cmd" value="login"/>
				<li>
					<label for="username">Username</label>
					<input type="text" id="myUser" name="id" placeholder="username" required>
				</li>
				<li>
					<label for="password">Password</label>
					<input type="password" id="myHash" name="hash" placeholder="password" required>
				</li>
				<li>
					<input type="submit" value="Login">
				</li>	
			</ul>	
		</form>
	
	</section>	
	<a href="changePassword.php">change password</a><br>
	<a href="addUser.php">new user</a><br>		
	</body>
</html>
	
